ZephyrProjectManager\Core\Tasks D

Total Complexity 675
Dependencies 13
Dependents 14
Total lines 3,318
Lines of code 2,682
Logical lines of code 1,675
Comment lines 355
Methods 146
Properties 2

Methods 146

Method Rating Maintainability Complexity Lines of code
new_task_row()
D
18
66 204
getRecurringTasks()
C
35 24 83
sortTasks()
C
35 23 88
recur_task()
B
35 22 85
get_assignees()
B
43 17 48
getEarliestDate()
B
47 17 35
syncIcs()
A
37 13 77
subtaskItemHtml()
A
41 14 54
getLatestDate()
A
48 15 33
get_daily_tasks()
A
48 13 29
canViewTask()
A
48 12 35
new_comment()
A
42 10 48
getEstimatedCompletionDate()
A
48 11 31
getDueTasks()
A
49 11 31
recurrence_string()
A
44 9 45
canCompleteTask()
A
49 9 34
get_tasks()
A
44 8 46
getPercentage()
A
51 8 27
getTasksDateRange()
A
51 8 26
hasProject()
A
54 8 20
get_week_tasks()
S
50 7 27
getAllTasks()
S
46 6 40
send_comment()
S
52 7 22
getDuration()
S
54 7 20
get_overdue_tasks()
S
48 6 35
updateTaskProgress()
S
55 7 17
updateBlockingTaskDependencyDates()
S
49 6 30
copy()
S
45 5 40
getCategories()
S
54 6 21
contextMenu()
S
49 5 35
getProject()
S
55 6 20
heartbeatComments()
S
49 5 33
sortByDueDate()
S
56 6 18
create()
S
49 5 31
getTaskParents()
S
52 5 27
getTaskProgress()
S
54 5 22
getStartToEndMonths()
S
54 5 21
getStartToEndDays()
S
55 5 19
getStartToEndYears()
S
55 5 19
get_assignee_string()
S
55 5 18
filter_task_data()
S
55 5 18
sortByStartDate()
S
56 5 18
get_project_tasks()
S
57 5 16
getEndDate()
S
57 5 16
search()
S
51 4 26
convert()
S
46 3 40
template_row_html()
S
53 4 24
update_template()
S
57 4 15
isOverdue()
S
60 4 14
getTasksByStatus()
S
60 4 14
getTasksByTeam()
S
61 4 13
getTaskPercentage()
S
60 4 13
getTasksByPriority()
S
61 4 13
getTasksByCategory()
S
61 4 13
get_user_tasks()
S
62 4 12
isSubtask()
S
62 4 11
hasTeam()
S
62 4 11
getExportHeaders()
S
52 3 25
importIcal()
S
54 3 22
get_attachments()
S
54 3 21
update_task_data()
S
54 3 21
get_task_attachments()
S
54 3 20
create_template()
S
55 3 18
newSubtaskModal()
S
50 1 48
task_created_by()
S
54 3 17
hasParent()
S
64 4 10
getRoot()
S
63 4 10
hasDueDate()
S
64 4 10
get_template()
S
63 4 10
hasStartDate()
S
64 4 10
get_subtasks()
S
58 3 14
get_comment_attachments()
S
60 3 13
get_project_assignee_tasks()
S
61 3 12
removeDuplicates()
S
61 3 12
get_user_completed_tasks()
S
61 3 12
getBlockedTasks()
S
63 3 11
getPendingBlockingTasks()
S
63 3 11
getStatusName()
S
61 3 11
getRange()
S
55 2 19
sendComment()
S
55 2 19
getProjectName()
S
64 3 10
unsyncIcs()
S
65 3 9
is_assignee()
S
66 3 8
isStatus()
S
73 3 4
get_task_data()
S
65 3 8
hasCategory()
S
64 3 10
remove_template()
S
63 3 10
getMeta()
S
63 3 10
getAvailableTasks()
S
65 3 10
formatDate()
S
62 2 11
getTotalDuration()
S
69 2 7
getLastSorting()
S
67 2 8
getURL()
S
66 2 8
isCompleted()
S
78 2 3
getStartDate()
S
67 2 8
orderTasksBy()
S
66 2 8
get_last_recurrence()
S
68 2 7
is_project()
S
71 2 6
getRecurrenceStart()
S
68 2 7
get_task()
S
63 2 10
get_type()
S
68 2 7
is_user_in_team()
S
71 2 5
get_expiration_date()
S
68 2 7
get_days()
S
68 2 7
getFrequency()
S
68 2 7
task_url()
S
66 2 8
onTaskStatusChanged()
S
70 2 6
formatIcsString()
S
60 1 14
taskListItemInput()
S
63 1 13
complete()
S
61 1 13
get_comments()
S
69 1 6
get_task_list()
S
69 1 6
get_project_completed_tasks()
S
69 1 6
get_project_task_count()
S
69 1 6
isApplied()
S
78 1 3
delete()
S
66 1 9
get_completed_task_count()
S
69 1 6
get_completed_tasks()
S
74 1 5
task_exists()
S
69 1 6
get_task_count()
S
73 1 5
update()
S
67 1 8
getTask()
S
80 1 3
getTasks()
S
80 1 3
get_comment()
S
69 1 6
view_task_list()
S
79 1 3
new_task_modal()
S
73 1 5
getBlockingTasks()
S
75 1 4
unarchive()
S
73 1 5
archive()
S
73 1 5
set_last_recurrence()
S
73 1 5
set_default_template()
S
79 1 3
get_default_template()
S
75 1 4
sortByStatus()
S
71 1 6
get_templates()
S
75 1 4
updateMeta()
S
74 1 4
updateBlockingTasks()
S
79 1 3
getIcsPath()
S
74 1 4
getLevel()
S
75 1 4
view_task_modal()
S
79 1 3
hasPendingBlockingTasks()
S
75 1 4
view_container()
S
72 1 7
isBlocked()
S
80 1 3
getArchivedTasks()
S
69 1 6
getIcsName()
S
79 1 3
getIcsUrl()
S
74 1 4
__construct()
S
63 1 9